package org.baojie.raft.task;

import java.util.concurrent.Future;

public abstract class ScheduleTask implements Task {

    abstract Future<?> doSchedule();

    abstract boolean cancel();

    public void start() {

    }

    public void stop() {

    }

}
